package com.smarttourism.service.impl;

import com.smarttourism.domain.GoodsType;
import com.smarttourism.mapper.GoodsTypeMapper;
import com.smarttourism.service.GoodsTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：王祖威
 * @Date ：2024/10/23 11:36
 */
@Service
public class GoodsTypeServiceImpl implements GoodsTypeService {
    @Autowired
    private GoodsTypeMapper goodsTypeMapper;

    @Override
    public List<GoodsType> findAll() {
        return goodsTypeMapper.selectAll();
    }
}
